Hi,
When I go to the control panel and select windows updates, I can see the section that shows when updates were last installed. How can I access the area of the computer that is supplying that date to this view via powershell?
Technology Tips and News
Hi,
When I go to the control panel and select windows updates, I can see the section that shows when updates were last installed. How can I access the area of the computer that is supplying that date to this view via powershell?
Try here:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\Results\Install
You can try:
Get-HotFix | Select Descrption,HotFixID,InstalledOn
Unfortunately I receive a lot of results that have no dates on them..
Here:
$key='HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\Results\Install' (Get-ItemProperty $key).LastSuccessTime
You can find more examples in the "Repository".
My apologies for hijacking an older thread, but this reg key doesn't exist on Server Core (doesn't exist on Win10 either).
Anyone have an idea on how to retrieve the LastSuccessTime value on those two?
TIA and Kind Regards,
M.